//
//  LMJLiangPinCell.m
//  EPA
//
//  Created by lanou3g on 16/4/21.
//  Copyright © 2016年 lanou3g. All rights reserved.
//

#import "LMJLiangPinCell.h"

@interface LMJLiangPinCell ()
@property (weak, nonatomic) IBOutlet UILabel *titleLable;

@property (weak, nonatomic) IBOutlet UIImageView *coverImgView;

@end
@implementation LMJLiangPinCell

- (void)awakeFromNib {
    // Initialization code
    
}
//要赋值在set里写,或layout里
- (void)setModel:(LMJLiangPinModel *)model {
    if (_model != model) {
        _model = model ;
        self.titleLable.text = self.model.title;

        [self.coverImgView sd_setImageWithURL:[NSURL URLWithString:self.model.coverimg]];
    }

}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
